import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
	{
		path: '/',
		name: 'index',
		component: () => import('../views/resume/PersonSimpleResume.vue'),
		meta: {
			title: '黄河人才网-在线简历',
			content:{
				keywords:'黄河人才网-在线简历',
				description:'黄河人才网-在线简历',
			},
		}
	},
	{
		path: '/channel',
		name: 'index',
		component: () => import('../views/resume/PersonSimpleResumeChannel.vue'),
		meta: {
			title: '黄河人才网-在线简历',
			content:{
				keywords:'黄河人才网-在线简历',
				description:'黄河人才网-在线简历',
			},
		}
	},
	{
		path: '/submitSuccess',
		name: 'submitSuccess',
		component: () => import('../views/resume/PersonSubmitSuccess.vue'),
		meta: {
			title: '黄河人才网-信息提交成功',
			content:{
				keywords:'黄河人才网-信息提交成功',
				description:'黄河人才网-信息提交成功',
			},
		}
	},
	{
		path: '*',
		name: 'lost',
		component: () => import('@/views/404.vue')
	}
]

const router = new VueRouter({
	mode: 'history',
	base: process.env.BASE_URL,
	routes
})

export default router
